package com.qf.service;

import com.qf.dao.UserDao;
import com.qf.dao.UserDaoImpl;
import com.qf.entity.User;

public class UserServiceImpl implements UserService{
   private UserDao userDao=new UserDaoImpl();
   @Override
    public User login(String username, String password) {
        //接收的数据传给dao层
       //业务层处理接收的数据
        User user = userDao.login(username, password);
        return user;
    }
}
